#pragma once
#include <d3dx9.h>
#define CENTER_H 255
#define CENTER_V 240
#define TOP 480
#define LOOK 835
class Camera
{
private:
	float left,right;
	float top,bottom;
	float vp_x,vp_y;
	D3DXMATRIX transform;
	D3DXMATRIX matrixI4;

public:
	Camera(int _left,int _right,int _bottom);
	void update(D3DXVECTOR2 target);
	D3DXMATRIX* getTransformedMatrix();
	float getLeftSide();
	float getRightSide();
	~Camera(void);
} ;

